package com.company.bookstore.service.user_admin_module;

import com.baomidou.mybatisplus.extension.service.IService;
import com.company.bookstore.entities.user_admin_module.Admin;
import com.company.bookstore.exception.user_admin_module.CustomException;
import com.company.bookstore.qo.user_admin_module.AdminQo;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * <p>
 * 管理员表 服务类
 * </p>
 *
 * @author 吴经纶
 * @blame Android Team
 * @since 2020-08-28
 */
public interface AdminService extends IService<Admin> , UserDetailsService {
    boolean insertAdmin(String adminName ,String password,Integer fkRoleId);

    boolean updateAdminQo(AdminQo adminQo) throws NoSuchMethodException, CustomException;

}